(:: pragma bea:global-element-parameter parameter="$getUbigeoById1" element="ns1:getUbigeoById" location="GetUbigeoProxy.wsdl" ::)
(:: pragma bea:global-element-return element="ns0:getUbigeoById" location="WS_Ubigeo_schema1.xsd" ::)

declare namespace ns1 = "http://xmlns.nextel.com/GetUbigeoProxy/";
declare namespace ns0 = "http://ws.ubigeo.nextel.com.pe/";
declare namespace xf = "http://tempuri.org/CrmIntegration_SB/GetUbigeo/inputTransform/";

declare function xf:inputTransform($getUbigeoById1 as element(ns1:getUbigeoById))
    as element(ns0:getUbigeoById) {
        <ns0:getUbigeoById>
            <InputParamsGetUbigeoById>
                {
                    for $UbigeoId in $getUbigeoById1/UbigeoId
                    return
                        <ubigeoId>{ data($UbigeoId) }</ubigeoId>
                }
            </InputParamsGetUbigeoById>
        </ns0:getUbigeoById>
};

declare variable $getUbigeoById1 as element(ns1:getUbigeoById) external;

xf:inputTransform($getUbigeoById1)
